import layout from '@/layout'
export default {
  path: '/employee',
  component: layout,
  name: 'employee',
  children: [ 
    {
    path: '',
    // name: 'employee',/
    component: () => import('@/views/employee'),
    meta: {
      title: '员工',
      icon: 'people'
    }
  },
  {
    path:'/employee/detail/:id?',
    component:()=>import('@/views/employee/detail'),
    hidden: true,
    meta: {
      title: '员工详情' // 显示在导航的文本
    }
  }
]
}
